package com.mvp.utils.https;

import android.text.TextUtils;

import java.util.HashMap;

/**
 * Created by zhangyuncai on 2019/5/16.
 */
public class MapHelper extends HashMap<String, Object> {
    public static MapHelper newHashMap() {
        return new MapHelper();
    }


    @Override
    public Object put(String key, Object value) {
        if (!TextUtils.isEmpty(key)) {
            if (value != null) {
                return super.put(key, value);
            }
        }
        return null;
    }
}
